package com.chpro.finance.accountmanager.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chpro.finance.accountmanager.dao.OtherAccountDao;
import com.chpro.finance.accountmanager.entity.OtherAccount;
import com.chpro.finance.accountmanager.service.OtherAccountService;
import com.chpro.orm.hibernate.DaoBase;
import com.chpro.orm.hibernate.ServiceBaseImpl;

@Service(value="otherAccountServiceImpl")
public class OtherAccountServiceImpl extends ServiceBaseImpl<OtherAccount> implements OtherAccountService {
	private OtherAccountDao otherAccountDao;
	
	@Resource(name="otherAccountDaoImpl")
	public void setOtherAccountDao(OtherAccountDao otherAccountDao) {
		this.otherAccountDao = otherAccountDao;
	}

	@Override
	public DaoBase<OtherAccount> getDao() {
		// TODO Auto-generated method stub
		return otherAccountDao;
	}

}
